<include file="Public/mheader" />
<style>
.background{
	width:100%;
	height:100%;
	background:url(__PUBLIC__/__MODULE__/img/index-none.jpg)  no-repeat;
	background-size: cover;
	background-position: 50% 50%;
}
.error-div,.error-body{
	width:100%;
	height:100%;
	overflow:hidden;
	text-align:center;
}
.error-div{
	padding:30px;
	padding-top:30%;
	padding-bottom:20%;
}
.error-body{
	background:url(__PUBLIC__/__MODULE__/img/minpage.png) no-repeat;
	background-size:100% 100%;
}
.error-title{
	font-size:20px;
	margin-top:10px;
	margin-bottom:20px;
}
.error{
	font-size:16px;
	margin-bottom:30px;
}
.button>a.btn{
	padding-left:30px;
	padding-right:30px;
	background:url(__PUBLIC__/__MODULE__/img/btn.png) no-repeat;
	background-size:100% 100%;
	color: #ffffff;
	border:none;
}
</style>
<div class="background">
	<div class="error-div">
		<div class="error-body">
			<img src="__PUBLIC__/__MODULE__/img/tuding.png" />
			<div class="error-title">
				闯关成功
			</div>
			<div class="error">
				{$tip}
			</div>
			<div class="button">
				<eq name="open_ext" value="1">
					<a class="btn btn-default" href="javascript:void(0)" data-href='{$index_url}' role="button">隐藏关卡</a>
				<else />
					<a class="btn btn-default" href="javascript:void(0)" data-href='{$index_url}' role="button">返回地图</a>
				</eq>
				<a class="btn btn-default" href="javascript:void(0)" data-href='{$submit_url}' role="button">提交分数</a>
			</div>
		</div>
	</div>
</div>
<script>
$('a[data-href]').on('click',function(){
	location.href=$(this).data('href');
});

</script>
<include file="public/footer" />